﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Task/Task.master" AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="DocumentFilePaste.aspx.cs" Inherits="Task_BaseDoc_DocumentFilePaste" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <style>
        #menu
        {
            background: #F1EFEF;
            border: solid #CCCCCC 1px;
        }
        #menu ul
        {
            display: block;
            list-style: none;
            margin: 5px;
            padding: 0px;
        }
        #menu ul li
        {
            display: inline;
        }
        #menu ul li a
        {
            color: #000000;
            text-decoration: none;
            padding: 3px;
            font-size: 14px;
        }
        #menu ul li a img
        {
            border: none;
        }
        .jqmWindow
        {
            display: none;
            position: fixed;
            top: 17%;
            left: 50%;
            margin-left: -300px;
            width: 500px;
            background-color: #EEE;
            color: #333;
            border: 1px solid #666;
            padding: 12px;
        }
        .style1
        {
            width: 81px;
        }
    </style>
    <div id="menu">
        <ul>
            <li><a href="DocumentList.aspx">
                <img title="刷新" alt="刷新" src="../../Images/ico/refresh1.gif" />
            </a></li>
            <li><a href="DocumentFileNew.aspx" id="create">
                <img title="新建" alt="新建" src="../../Images/ico/folder_new1.gif" />
            </a></li>
            <li><a href="javascript:void(0);" id="cut">
                <asp:ImageButton ID="ibtnCut" ToolTip="剪切" ImageUrl="~/Images/ico/cut1.gif" runat="server" />
            </a></li>
            <li><a href="javascript:void(0);" id="copy">
                <asp:ImageButton ID="ibtnCopy" ToolTip="复制" Enabled="false" ImageUrl="~/Images/ico/copy1.gif"
                    runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="paste">
                <asp:ImageButton ID="ibtnPaste" ToolTip="粘贴" ImageUrl="~/Images/ico/paste.gif" runat="server"
                    OnClick="ibtnPaste_Click" /></a></li>
            <li><a href="javascript:void(0);" id="rename">
                <asp:ImageButton ID="ibtnRename" ToolTip="重命名" ImageUrl="~/Images/ico/rename1.gif"
                    runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="delete">
                <asp:ImageButton ID="ibtnDelete" ToolTip="删除文件" ImageUrl="~/Images/ico/delete1.gif"
                    runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="upload">
                <img title="上传" alt="上传" src="../../Images/ico/up1.gif" /></a> </li>
            <li><a href="DocumentList.aspx"><font color="red">返回上级目录>></font></a></li>
        </ul>
    </div>
    <div style="width: 100%; margin-top: 10px;">
        <table>
            <tr runat="server" id="trDepartment">
                <td class="style1">
                    <asp:CheckBox ID="cblParent" runat="server" AutoPostBack="True" 
                        oncheckedchanged="cblParent_CheckedChanged" Text="上级单位" />
                </td>
                <td>
                    上报单位：
                </td>
                <td>
                    <asp:CheckBoxList ID="cblDepartment" runat="server" RepeatDirection="Horizontal"
                        DataTextField="ShortName" DataValueField="DepartmentId" RepeatColumns="4">
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:CheckBox ID="cbSelf" runat="server" AutoPostBack="True" Checked="True" 
                        oncheckedchanged="CheckBox2_CheckedChanged" Text="本级单位" />
                </td>
                <td>
                    目录创建时间：
                </td>
                <td>
                    <asp:DropDownList ID="dptStartYear" runat="server" OnSelectedIndexChanged="dptStartYear_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:DropDownList ID="dptStartMonth" runat="server" AutoPostBack="True" OnSelectedIndexChanged="dptStartMonth_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    请选择要粘贴的目录 ：
                </td>
                <td>
                    <asp:DropDownList ID="dptDir" Width="400px" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
        <asp:Label ID="lblPrompt" runat="server" ForeColor="Red"></asp:Label></div>
</asp:Content>
